package com.czl.common.area;


import java.util.HashMap;
import java.util.Map;

/**
 * @author 石雷
 * shilei1@jiayuan.com
 * 2020/10/13/013 12:21
 */
public enum City {

    _6401(6401,64,1,"银川市"),
    _6402(6402,64,1,"石嘴山市"),
    _6403(6403,64,1,"吴忠市"),
    _6404(6404,64,1,"固原市"),
    _6405(6405,64,1,"中卫市"),
    _6301(6301,63,1,"西宁市"),
    _6302(6302,63,1,"海东市"),
    _6322(6322,63,1,"海北藏族自治州"),
    _6323(6323,63,1,"黄南藏族自治州"),
    _6325(6325,63,1,"海南藏族自治州"),
    _6326(6326,63,1,"果洛藏族自治州"),
    _6327(6327,63,1,"玉树藏族自治州"),
    _6328(6328,63,1,"海西蒙古族藏族自治州"),
    _6201(6201,62,1,"兰州市"),
    _6202(6202,62,1,"嘉峪关市"),
    _6203(6203,62,1,"金昌市"),
    _6204(6204,62,1,"白银市"),
    _6205(6205,62,1,"天水市"),
    _6206(6206,62,1,"武威市"),
    _6207(6207,62,1,"张掖市"),
    _6208(6208,62,1,"平凉市"),
    _6209(6209,62,1,"酒泉市"),
    _6210(6210,62,1,"庆阳市"),
    _6211(6211,62,1,"定西市"),
    _6212(6212,62,1,"陇南市"),
    _6229(6229,62,1,"临夏回族自治州"),
    _6230(6230,62,1,"甘南藏族自治州"),
    _6101(6101,61,1,"西安市"),
    _6102(6102,61,1,"铜川市"),
    _6103(6103,61,1,"宝鸡市"),
    _6104(6104,61,1,"咸阳市"),
    _6105(6105,61,1,"渭南市"),
    _6106(6106,61,1,"延安市"),
    _6107(6107,61,1,"汉中市"),
    _6108(6108,61,1,"榆林市"),
    _6109(6109,61,1,"安康市"),
    _6110(6110,61,1,"商洛市"),
    _5401(5401,54,1,"拉萨市"),
    _5402(5402,54,1,"日喀则市"),
    _5403(5403,54,1,"昌都市"),
    _5404(5404,54,1,"林芝市"),
    _5405(5405,54,1,"山南市"),
    _5406(5406,54,1,"那曲市"),
    _5425(5425,54,1,"阿里地区"),
    _5301(5301,53,1,"昆明市"),
    _5303(5303,53,1,"曲靖市"),
    _5304(5304,53,1,"玉溪市"),
    _5305(5305,53,1,"保山市"),
    _5306(5306,53,1,"昭通市"),
    _5307(5307,53,1,"丽江市"),
    _5308(5308,53,1,"普洱市"),
    _5309(5309,53,1,"临沧市"),
    _5323(5323,53,1,"楚雄彝族自治州"),
    _5325(5325,53,1,"红河哈尼族彝族自治州"),
    _5326(5326,53,1,"文山壮族苗族自治州"),
    _5328(5328,53,1,"西双版纳傣族自治州"),
    _5329(5329,53,1,"大理白族自治州"),
    _5331(5331,53,1,"德宏傣族景颇族自治州"),
    _5333(5333,53,1,"怒江傈僳族自治州"),
    _5334(5334,53,1,"迪庆藏族自治州"),
    _5201(5201,52,1,"贵阳市"),
    _5202(5202,52,1,"六盘水市"),
    _5203(5203,52,1,"遵义市"),
    _5204(5204,52,1,"安顺市"),
    _5205(5205,52,1,"毕节市"),
    _5206(5206,52,1,"铜仁市"),
    _5223(5223,52,1,"黔西南布依族苗族自治州"),
    _5226(5226,52,1,"黔东南苗族侗族自治州"),
    _5227(5227,52,1,"黔南布依族苗族自治州"),
    _5101(5101,51,1,"成都市"),
    _5103(5103,51,1,"自贡市"),
    _5104(5104,51,1,"攀枝花市"),
    _5105(5105,51,1,"泸州市"),
    _5106(5106,51,1,"德阳市"),
    _5107(5107,51,1,"绵阳市"),
    _5108(5108,51,1,"广元市"),
    _5109(5109,51,1,"遂宁市"),
    _5110(5110,51,1,"内江市"),
    _5111(5111,51,1,"乐山市"),
    _5113(5113,51,1,"南充市"),
    _5114(5114,51,1,"眉山市"),
    _5115(5115,51,1,"宜宾市"),
    _5116(5116,51,1,"广安市"),
    _5117(5117,51,1,"达州市"),
    _5118(5118,51,1,"雅安市"),
    _5119(5119,51,1,"巴中市"),
    _5120(5120,51,1,"资阳市"),
    _5132(5132,51,1,"阿坝藏族羌族自治州"),
    _5133(5133,51,1,"甘孜藏族自治州"),
    _5134(5134,51,1,"凉山彝族自治州"),
    _5001(5001,50,1,"市辖区"),
    _5002(5002,50,1,"县"),
    _4601(4601,46,1,"海口市"),
    _4602(4602,46,1,"三亚市"),
    _4603(4603,46,1,"三沙市"),
    _4604(4604,46,1,"儋州市"),
    _4690(4690,46,1,"省直辖县级行政区划"),
    _4501(4501,45,1,"南宁市"),
    _4502(4502,45,1,"柳州市"),
    _4503(4503,45,1,"桂林市"),
    _4504(4504,45,1,"梧州市"),
    _4505(4505,45,1,"北海市"),
    _4506(4506,45,1,"防城港市"),
    _4507(4507,45,1,"钦州市"),
    _4508(4508,45,1,"贵港市"),
    _4509(4509,45,1,"玉林市"),
    _4510(4510,45,1,"百色市"),
    _4511(4511,45,1,"贺州市"),
    _4512(4512,45,1,"河池市"),
    _4513(4513,45,1,"来宾市"),
    _4514(4514,45,1,"崇左市"),
    _4401(4401,44,1,"广州市"),
    _4402(4402,44,1,"韶关市"),
    _4403(4403,44,1,"深圳市"),
    _4404(4404,44,1,"珠海市"),
    _4405(4405,44,1,"汕头市"),
    _4406(4406,44,1,"佛山市"),
    _4407(4407,44,1,"江门市"),
    _4408(4408,44,1,"湛江市"),
    _4409(4409,44,1,"茂名市"),
    _4412(4412,44,1,"肇庆市"),
    _4413(4413,44,1,"惠州市"),
    _4414(4414,44,1,"梅州市"),
    _4415(4415,44,1,"汕尾市"),
    _4416(4416,44,1,"河源市"),
    _4417(4417,44,1,"阳江市"),
    _4418(4418,44,1,"清远市"),
    _4419(4419,44,1,"东莞市"),
    _4420(4420,44,1,"中山市"),
    _4451(4451,44,1,"潮州市"),
    _4452(4452,44,1,"揭阳市"),
    _4453(4453,44,1,"云浮市"),
    _4301(4301,43,1,"长沙市"),
    _4302(4302,43,1,"株洲市"),
    _4303(4303,43,1,"湘潭市"),
    _4304(4304,43,1,"衡阳市"),
    _4305(4305,43,1,"邵阳市"),
    _4306(4306,43,1,"岳阳市"),
    _4307(4307,43,1,"常德市"),
    _4308(4308,43,1,"张家界市"),
    _4309(4309,43,1,"益阳市"),
    _4310(4310,43,1,"郴州市"),
    _4311(4311,43,1,"永州市"),
    _4312(4312,43,1,"怀化市"),
    _4313(4313,43,1,"娄底市"),
    _4331(4331,43,1,"湘西土家族苗族自治州"),
    _4201(4201,42,1,"武汉市"),
    _4202(4202,42,1,"黄石市"),
    _4203(4203,42,1,"十堰市"),
    _4205(4205,42,1,"宜昌市"),
    _4206(4206,42,1,"襄阳市"),
    _4207(4207,42,1,"鄂州市"),
    _4208(4208,42,1,"荆门市"),
    _4209(4209,42,1,"孝感市"),
    _4210(4210,42,1,"荆州市"),
    _4211(4211,42,1,"黄冈市"),
    _4212(4212,42,1,"咸宁市"),
    _4213(4213,42,1,"随州市"),
    _4228(4228,42,1,"恩施土家族苗族自治州"),
    _4290(4290,42,1,"省直辖县级行政区划"),
    _4101(4101,41,1,"郑州市"),
    _4102(4102,41,1,"开封市"),
    _4103(4103,41,1,"洛阳市"),
    _4104(4104,41,1,"平顶山市"),
    _4105(4105,41,1,"安阳市"),
    _4106(4106,41,1,"鹤壁市"),
    _4107(4107,41,1,"新乡市"),
    _4108(4108,41,1,"焦作市"),
    _4109(4109,41,1,"濮阳市"),
    _4110(4110,41,1,"许昌市"),
    _4111(4111,41,1,"漯河市"),
    _4112(4112,41,1,"三门峡市"),
    _4113(4113,41,1,"南阳市"),
    _4114(4114,41,1,"商丘市"),
    _4115(4115,41,1,"信阳市"),
    _4116(4116,41,1,"周口市"),
    _4117(4117,41,1,"驻马店市"),
    _4190(4190,41,1,"省直辖县级行政区划"),
    _3701(3701,37,1,"济南市"),
    _3702(3702,37,1,"青岛市"),
    _3703(3703,37,1,"淄博市"),
    _3704(3704,37,1,"枣庄市"),
    _3705(3705,37,1,"东营市"),
    _3706(3706,37,1,"烟台市"),
    _3707(3707,37,1,"潍坊市"),
    _3708(3708,37,1,"济宁市"),
    _3709(3709,37,1,"泰安市"),
    _3710(3710,37,1,"威海市"),
    _3711(3711,37,1,"日照市"),
    _3713(3713,37,1,"临沂市"),
    _3714(3714,37,1,"德州市"),
    _3715(3715,37,1,"聊城市"),
    _3716(3716,37,1,"滨州市"),
    _3717(3717,37,1,"菏泽市"),
    _6501(6501,65,1,"乌鲁木齐市"),
    _6502(6502,65,1,"克拉玛依市"),
    _6504(6504,65,1,"吐鲁番市"),
    _6505(6505,65,1,"哈密市"),
    _6523(6523,65,1,"昌吉回族自治州"),
    _6527(6527,65,1,"博尔塔拉蒙古自治州"),
    _6528(6528,65,1,"巴音郭楞蒙古自治州"),
    _6529(6529,65,1,"阿克苏地区"),
    _6530(6530,65,1,"克孜勒苏柯尔克孜自治州"),
    _6531(6531,65,1,"喀什地区"),
    _6532(6532,65,1,"和田地区"),
    _6540(6540,65,1,"伊犁哈萨克自治州"),
    _6542(6542,65,1,"塔城地区"),
    _6543(6543,65,1,"阿勒泰地区"),
    _6590(6590,65,1,"自治区直辖县级行政区划");

    private Integer id;
    private Integer pid;
    private Integer deep;
    private String name;

    public static Map<Integer,City> FIELDS= new HashMap<>();
    static{
        for (City value : City.values()) {
            FIELDS.put(value.getId(),value);
        }
    }


    City(Integer id, Integer pid, Integer deep, String name) {
        this.id = id;
        this.pid = pid;
        this.deep = deep;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public Integer getPid() {
        return pid;
    }

    public Integer getDeep() {
        return deep;
    }

    public String getName() {
        return name;
    }
}
